
#include <stdlib.h>
#include <string>
#include <vector>

using namespace std;

void calculSousTableau (vector<int> cgh,int g,int h,struct result *resultatfinal);
void calc_ssum(vector<int> cgh,vector<int> *pssum);
void calc_pmax(vector<int> ssum,vector<int> *pmax);
void calc_psum(vector<int> cgh,vector<int> *psum);
void calc_smax(vector<int> psum,vector<int> *smax);
int calculM(int *y0,int *y1,vector<int> cgh,vector<int> ssum,vector<int> psum,vector<int> pmax,vector<int> smax,vector<int> *m);

